PhpMyAdmin\Server\Privileges D

Total Complexity 539
Dependencies 12
Dependents 4
Total lines 3,940
Lines of code 2,810
Logical lines of code 1,170
Comment lines 646
Methods 61
Properties 4

Methods 61

Method Rating Maintainability Complexity Lines of code
getSqlQueriesForDisplayAndAddUser()
D
22
49 202
getDataForDBInfo()
C
34 27 101
updatePassword()
C
30 25 127
addUser()
C
30 23 136
extractPrivInfo()
C
36 27 73
getHtmlForAllTableSpecificRights()
C
29
19 145
getHtmlForUserOverview()
B
30 18 134
getHtmlToDisplayPrivilegesTable()
B
33 19 101
getDataForChangeOrCopyUser()
B
40 21 57
getWithClauseForAddUserAndUpdatePrivs()
B
45 21 38
getHtmlForUserProperties()
B
34 15 97
getTablePrivsQueriesForChangeOrCopyUser()
B
37 16 72
getHtmlForLoginInformationFields()
B
39 15 63
getExtraDataForAjaxBehavior()
A
38 14 64
getUserSpecificRights()
A
36 12 87
addUserAndCreateDatabase()
A
39 13 70
generateQueriesForUpdatePrivileges()
A
45 15 37
getUsersOverview()
A
40 11 59
getRequireClause()
A
49 12 30
getUserLink()
A
43 10 51
updatePrivileges()
A
43 10 49
getFormForChangePassword()
A
48 11 32
getCurrentAuthenticationPlugin()
A
48 10 35
getGrantsArray()
A
31 1 163
setUserGroup()
A
47 8 35
deleteUser()
A
48 7 34
getSpecificPrivilege()
S
47 6 35
getTablePrivileges()
S
52 6 28
getDbRightsForUserOverview()
S
46 5 40
getDataForDeleteUsers()
S
48 5 33
checkIfMariaDBPwdCheckPluginActive()
S
56 6 18
getGlobalAndDatabasePrivileges()
S
45 3 61
getHtmlForInitials()
S
52 5 24
getHtmlToChooseUserGroup()
S
49 4 32
getUserGroupForUser()
S
54 4 23
getListForExportUserDefinition()
S
48 3 36
getUsernameAndHostnameLength()
S
55 4 21
getAddUserHtmlFieldset()
S
55 4 21
getActiveAuthPlugins()
S
58 4 16
getDataForQueries()
S
61 4 13
getDbSpecificPrivsQueriesForChangeOrCopyUser()
S
52 3 24
fillInTablePrivileges()
S
54 3 21
getAllPrivileges()
S
55 3 19
getSqlQueryForDisplayPrivTable()
S
56 3 19
getRoutinesPrivileges()
S
59 3 16
parseProcPriv()
S
59 3 15
updateMessageForReload()
S
60 3 14
getTableGrantsArray()
S
48 1 44
wildcardEscapeForGrant()
S
62 3 12
getMessageAndSqlQueryForPrivilegesRevoke()
S
53 2 23
setProperPasswordHashing()
S
66 3 9
rangeOfUsers()
S
64 3 10
getRoutineType()
S
65 3 9
getHtmlForAddUser()
S
59 2 14
getRoutinePrivileges()
S
59 2 14
getGrants()
S
62 2 12
getHtmlForRoutineSpecificPrivileges()
S
61 1 12
getUserGroupCount()
S
62 1 12
getHtmlForViewUsersError()
S
75 1 5
getHashedPassword()
S
69 1 7
__construct()
S
71 1 6